package com.mgg.payment.service.log.impl;

import java.util.HashMap;
import java.util.Map;

import com.mgg.common.dao.DaoSupport;
import com.mgg.payment.service.log.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("logService")
public class LogServiceImpl implements LogService {

	@Autowired
	private DaoSupport dao;
	
	@Override
	public void saveOrderLogInfo(String orderId, String type, String status, String remark) {
		Map<String, Object> map = new HashMap<>();
		map.put("orderId", orderId);
		map.put("type", type);
		map.put("status", status);
		map.put("remark", remark);
		dao.save("LogMapper.saveOrderLogInfo", map);
	}

}
